package com.kfm.exec02;

public class Card {

    private String code;
    private String color;
    private Integer point;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }

    public Card(String code, String color, Integer point) {
        this.code = code;
        this.color = color;
        this.point = point;
    }

    @Override
    public String toString() {
        return color + code;
    }
}
